/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ep.m004.module;

import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
import ep.libs.implementations.AbstractApplication;

/**
 *
 * @author atsi
 */
public class TestM004Module extends AbstractApplication {

    private Window mainWindow;
    private VerticalLayout mainLayout;

    @Override
    public void init() {
        initializeApplication();
    }

    private void initializeApplication() {
        mainWindow = new Window();
        setMainWindow(mainWindow);

        M004Module m004Module = new M004Module(null);
        mainWindow.addComponent(m004Module.getModule());
    }

    @Override
    public void changeModule(Class moduleClass) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void changeModule(Class moduleClass, Object[] args) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public VerticalLayout getMainLayout() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public HorizontalLayout getHeaderLayout() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Window getApplicationWindow() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
